<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%String basePath = request.getContextPath(); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发帖</title>
<style type="text/css">
/**设置编辑框的样式 */
.ke-statusbar {
	display: none;
}
</style>
<link rel="stylesheet" href="<%=basePath%>/resource/css/common.css" />
<script type="text/javascript" charset="UTF-8" src="<%=basePath %>/resource/js/jquery/jquery-1.8.2.js"></script>
<script type="text/javascript" charset="UTF-8" src="<%=basePath %>/resource/js/honeycombtool.js"></script>
<script charset="utf-8" src="<%=basePath%>/resource/iKindEditor/editor/kindeditor.js"></script>
<script charset="utf-8" src="<%=basePath%>/resource/iKindEditor/editor/lang/zh_CN.js"></script>
<script charset="utf-8" src="<%=basePath%>/resource/iKindEditor/editor/plugins/code/prettify.js"></script>
<script charset="utf-8" src="<%=basePath%>/resource/js/writePosts.js"></script>

<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery/jquery.form.js"></script> 
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery/jquery.Jcrop.js"></script>
<link rel="stylesheet" href="<%=request.getContextPath() %>/resource/css/jquery.Jcrop.css" />
</head>
<body>
<%@ include file="top.jsp" %>
	<div style="width: 980px;height: auto;margin: 0 auto;border: 1px solid #dddddd;padding-left: 20px;padding-bottom: 20px;">
	<form id="articleForm" action="<%=request.getContextPath() %>/play/article/addArticle" method="post">
		<div style="width: 960px;height: 35px;border-bottom: 1px solid #999999;">
			<div style="float: left; width: 770px;height: 30px;margin-left: 10px;font-size: 18px;text-align: left;line-height: 35px;font-weight: bold">发表新帖</div>
		</div>
		<div style="width: 960px;height: 55px; margin-top: 20px; border-bottom: 1px dashed #CCCCCC;">
			<input type="text" id="article_title" name="article_title" placeholder="请在此输入帖子标题" maxlength="35" style="box-shadow: 0 2px 3px rgba(200, 200, 200, 0.6) inset; width: 956px; height: 26px; font-size: 26px; text-align: center; font-family: inherit; border: 1px dashed #CCCCCC; color: #545454; padding: 5px 0;">
		</div>
		<div style="width: 960px;height: auto; margin-top: 10px;">
			<textarea id="inputTextArea" name="article_text" style="width: 960px;height: 180px; overflow:auto; resize:none;"></textarea>
			<div style="width: 940px;height: 30px;background-color: #F2F2F2;padding: 0;line-height: 30px;color: #545454; border: 1px solid #CCCCCC; border-top: 0; border-radius: 0 0 3px 3px; padding: 1px 10px;">
				<font style="font-size: 12px;">分类：</font>
				<select name="article_type" style="height: 20px; width: 120px; font-size: 12px; margin-right: 5px;">
					<option value="DINE">聚餐吧</option>
					<option value="SPORT">运动吧</option>
					<option value="SHOW">pk菜吧</option>
					<option value="BLAST">吐槽吧</option>
				</select>
			</div>
		</div>
		<div style="width: 80px;height: 23px; margin-top: 20px;">
			<input type="button" id="submitButton" class="button_style" style="width: 80px; height: 26px; font-size: 14px;" value="发表">
		</div>
	</form>
	</div>
<%@ include file="foot.jsp" %>
<%@ include file="cutImg.jsp" %>
</body>
</html>